import request from '@/utils/request'

// 预缴管理--预交费项目管理列表查询
export function queryPrepaymentList(query) {
    return request({
        url: '/order/payPrepayment/queryPrepaymentList',
        method: 'get',
        params: query
    })
}

// 不分页
export function payPrepaymentQueryAllPrepayment() {
    return request({
        url: '/order/payPrepayment/queryAllPrepayment',
        method: 'get',
    })
}
// 预缴管理--预交费项目管理列表查询
export function addPrepayment(query) {
    return request({
        url: '/order/payPrepayment/addPrepayment',
        method: 'post',
        data: query
    })
}
// 预缴管理--
export function updatePrepayment(query) {
    return request({
        url: '/order/payPrepayment/updatePrepayment',
        method: 'post',
        data: query
    })
}
//订单导入管理 查询人工订单列表
export function payOrderImportList(query) {
    return request({
        url: '/order/payOrderImport/list',
        method: 'get',
        params: query
    })
}
// 人工订单导入明细 重新上传人工订单列表
export function repeatUpload(query) {
    return request({
        url: '/order/payOrderImport/repeatUpload/' + query,
        method: 'get',
    })
}
// 人工订单导入明细 查询导入详细记录
export function orderImportRecordList(query) {
    return request({
        url: '/order/orderImportRecord/list',
        method: 'get',
        params: query

    })
}
// 人工订单导入明细 删除导入详细记录
export function orderImportRecordDel(query) {
    return request({
        url: '/order/orderImportRecord/' + query,
        method: 'delete',
    })
}

// 预缴费导入 查询导入列表
export function payPrepaymentImportList(query) {
    return request({
        url: '/order/payPrepaymentImport/list',
        method: 'get',
        params: query
    })
}
// 预缴费导入 重新上传预交费
export function payPrepaymentImportRepeatUpload(query) {
    return request({
        url: '/order/payPrepaymentImport/repeatUpload/' + query,
        method: 'get',
    })
}

// 预缴费导入明细 查询导入详细记录
export function prepayImportRecordList(query) {
    return request({
        url: '/order/prepayImportRecord/list',
        method: 'get',
        params: query

    })
}
// 预缴费导入明细 删除导入详细记录
export function prepayImportRecord(query) {
    return request({
        url: '/order/prepayImportRecord/' + query,
        method: 'delete',
    })
}
// 查询学生预缴费列表 分页查询学生预缴费信息列表
export function payStudentPrepaymentQueryAllTable(query) {
    return request({
        url: '/order/payStudentPrepayment/queryAllTable',
        method: 'get',
        params: query

    })
}
// 作废预缴费记录
export function payStudentPrepaymentCancel(query) {
    return request({
        url: '/order/payStudentPrepayment/cancel',
        method: 'get',
        params: query
    })
}
// 删除预缴费记录
export function payStudentPrepaymentDelete(query) {
    return request({
        url: '/order/payStudentPrepayment/delete',
        method: 'get',
        params: query
    })
}

export function payStudentPrepaymentInsertOne(query) {
    return request({
        url: '/order/payStudentPrepayment/insertOne',
        method: 'post',
        data: query,
    })
}

export function prepayImportRecordListMessage(query) {
    return request({
        url: '/order/prepayImportRecord/listMessage',
        method: 'post',
        data: query,
    })
}
export function orderImportRecordListMessage(query) {
    return request({
        url: '/order/orderImportRecord/listMessage',
        method: 'post',
        data: query,
    })
}